package net.qunzhi.modules.cms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import net.qunzhi.common.utils.PageUtils;
import net.qunzhi.modules.cms.entity.TbEquipmentEntity;
import net.qunzhi.modules.cms.entity.TbFlowStateEntity;
import net.qunzhi.common.utils.BaseQuery;
import net.qunzhi.modules.cms.query.StateDateQuery;
import net.qunzhi.modules.cms.vo.*;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

/**
 * 调度中心流量数据
 *
 * @author zjr
 * @date 2021-09-10 15:48:00
 */
public interface TbFlowStateService extends IService<TbFlowStateEntity> {

    PageUtils queryPage(StateDateQuery query);

    void addFlowData(TbEquipmentEntity entity);

    List<XjWaterSummary>  getDailySummaryList(String startDate,String endDate) ;

    List<WaterSellConditionOfEachFlowmeterVO> getWaterSellConditionOfEachFlowmeter(String startDate,String endDate);

    List<PercentageOfWaterInEachAreaVO> getPercentageOfWaterInEachArea(String startDate,String endDate) ;

    List<DailyFlowOfEachAreaVO> getDailyFlowOfEachArea(String startDate,String endDate) ;

    List<MonthlyCumulativeWaterOfEachAreaVO> getMonthlyCumulativeWaterOfEachArea(String startDate,String endDate) ;

    List<SalesOutputRatioOfEachAreaVO> getSalesOutputRatioOfEachArea(String startDate,String endDate) ;

    List<MorningWaterVO> getFlowRateOfEachFlowmeterAtDawn(String startDate,String endDate) ;

    List<XjWaterSummary> getCopyDailySummaryList(String startDate, String endDate);

    List<WaterSellConditionOfEachFlowmeterVO> getCopyWaterSellConditionOfEachFlowmeter(String startDate, String endDate);

    List<PercentageOfWaterInEachAreaVO> getCopyPercentageOfWaterInEachArea(String startDate, String endDate);

    List<DailyFlowOfEachAreaVO> getCopyDailyFlowOfEachArea(String startDate, String endDate);

    List<MonthlyCumulativeWaterOfEachAreaVO> getCopyMonthlyCumulativeWaterOfEachArea(String startDate, String endDate);

    List<SalesOutputRatioOfEachAreaVO> getCopySalesOutputRatioOfEachArea(String startDate, String endDate);

    List<MorningWaterVO> getCopyFlowRateOfEachFlowmeterAtDawn(String startDate, String endDate);
}

